import request from '@/utils/request'

/**
 * 专项报表: 商业多径分析报表项目下拉
 */
export const businessAnalyzeReportProjectDownApi = (groupCode) => {
	return request({
		url: `/portal-server/v1/api/report/businessAnalyzeReportProjectDown?groupCode=${groupCode}`,
		method: 'get',
	})
};

/**
 * 专项报表: 商业多径分析报表
 */
 export const businessAnalyzeReportApi = (data) => {
	return request({
		url: `/portal-server/v1/api/report/businessAnalyzeReport`,
		method: 'post',
		data: data
	})
};

/**
 * 专项报表: 商业多径分析报表导出
 */
 export const businessAnalyzeReportExportApi = (data) => {
	return request({
		url: `/portal-server/v1/api/report/businessAnalyzeReportExport`,
		method: 'post',
		data: data,
		responseType: 'blob',
	})
};
